package math;

public class BitTest {

    
    /**
     * @param args
     *
     * @author grind
     * @date Dec 11, 2013 5:43:06 PM
     */
    public static void main(String[] args){
        int a = 0x1<<31 | 0x333;
        int b = 0x0<<31 | 0x333;
        int c = a & 0x7FFFFFFF;
        boolean d = (a & 0x1<<31) != 0;
        System.out.println("value a: " + a);
        System.out.println("value b: " + b);
        System.out.println("value c: " + c);
        System.out.println("value d: " + d);
        System.out.println("value boolean: " + (false || true));
        System.out.println("value boolean: " + (false || false));
        System.out.println("value boolean: " + (true || true));
    }

}
